home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-04 / shazam11.zip / DEMOE3.DEF < prev    next >
Text File  |  1991-11-04  |  3KB  |  59 lines

  1. @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  2. @@ Change menu structure of an actual program to single system menu.
  3.  
  4. @@ Note use of "[APPLICATION]" to reference ED.* Custom Components,
  5. @@ rather than DEMOE3.* (which don't exist).  This causes SHAZAM to:
  6. @@    <> Use the name "ED" for generated files.
  7. @@    <> Use the name "ED" for Custom Components:  ED.INC, ED.VIR and ED.EVT
  8.  
  9. @@ Note use of ">" and "<" for multi-level SubMenus...
  10.  
  11. @@ Uses ListItem symbols "^^" (double-carot) and "%%" (double percentage)
  12. @@ ^^ ListItem defined and handled elsewhere; do not be put in
  13. @@    TApplication^.HandleEvent.
  14. @@ %% ListItem code exists; create "cm.." and call via
  15. @@    TApplication^.HandleEvent
  16. @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  17.  
  18. [APPLICATION] ed                       ;;This is a real, LONNNGGGG hint for the "drop-in" editor
  19.  
  20. @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  21.  
  22. [SUBMENU]≡ hcSystem                    ;;system menu
  23. help f1                                ;;access on-line help
  24. [NEWLINE]
  25.  
  26. >[SUBMENU] file                        ;;file management commands (open, save, etc)
  27. %%Open...    f3                        ;;locate and open a file in an Edit window
  28. %%New        f4                        ;;create a new file in a new Edit window
  29. ^^Save       f2                        ;;save the file in the active Edit window
  30. ^^'Save ~a~s...'                       ;;save file under a different name, directory, or drive
  31. [NEWLINE]
  32. %%'Change dir...'                      ;;choose a new default directory
  33.  
  34. [SUBMENU] edit                         ;;cut-and-paste editing commands
  35. ^^Undo                                 ;;cancel changes to the current line
  36. [NEWLINE]
  37. ^^Cu~t~    Shift-Del                   ;;remove selected text, place in Clipboard
  38. ^^Copy     Ctrl-Ins                    ;;copy selected text into Clipboard
  39. ^^Paste    Shift-Ins                   ;;Insert text from Clipboard at cursor position
  40. %%'Show clipboard'                     ;;open the Clipboard window
  41. [NEWLINE]
  42. ^^C~l~ear   Ctrl-Del                   ;;delete selected text
  43.  
  44. [SUBMENU] search                       ;;text search-and-replace commands
  45. ^^Find...                              ;;search for text
  46. ^^Replace...                           ;;search for text and replace it with new text
  47. ^^'Search again'                       ;;repeat the last Find or Replace command
  48.  
  49. <                                      @@ END INDENT/SUB-MENU LEVEL
  50. [NEWLINE]
  51. E~x~it alt-x cmquit                    ;;Quit program & return to DOS
  52.  
  53. @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  54. @@ Since these are instanced above, needn't use "^^" or "%%"
  55. @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  56.  
  57. [STATUS]
  58. f10 menu
  59.